<template>
  <div class="bottom">
    <div class="title">
      <h3>关于团队</h3>
    </div>
    <div class="list">
      <el-form ref="form" :model="form" label-width="200px">
        <el-form-item label="关于我们">
          <wang-editor />
        </el-form-item>
        <el-form-item label="服务">
          <el-input v-model="form.applyFor.title"></el-input>
        </el-form-item>
        <el-form-item>
          <el-input v-model="form.applyFor.list[0].text"></el-input>
        </el-form-item>
        <el-form-item>
          <el-input v-model="form.applyFor.list[1].text"></el-input>
        </el-form-item>
        <el-form-item>
          <el-input v-model="form.applyFor.list[2].text"></el-input>
        </el-form-item>
        <el-form-item>
          <el-input v-model="form.applyFor.list[3].text"></el-input>
        </el-form-item>
      </el-form>
    </div>
  </div>
</template>

<script>
import api from "../../api";
import wangEditor from "../wangEditor";
export default {
  name: "AboutCopy",
  components: {
    wangEditor,
  },
  data() {
    return {
      form: {
        applyFor:{
          list:[
            {text:''},
            {text:''},
            {text:''},
            {text:''},
          ]
        }
      },
    };
  },
  mounted() {
    api.aboutUs().then((res) => {
      if (res.status === 200) {
        this.form = res.data;
      }
    });
  },
  methods: {},
};
</script>

<style lang="less" scoped>
.bottom {
  padding-left: 20px;
  .title {
    text-align: center;
    padding: 20px;
    background-color: #c4b4a9;
    margin-bottom: 10px;
  }
  .list {
    padding: 30px;
    width: 800px;
  }
}
.code {
  width: 100px;
  height: 100px;
  padding-left: 20px;
  float: left;
}
</style>